<style type="text/css">
<!--
/*==============================PAGE FOOTER========================================================*/

footer{
	padding: 10px 20px;
	background: #e1dfdf;
	box-shadow: inset 0px 10px 10px -10px #aaa;
	-moz-box-shadow: inset 0px 10px 10px -10px #aaa;
	-webkit-box-shadow: inset 0px 10px 10px -10px #aaa;
	-o-box-shadow: inset 0px 10px 10px -10px #aaa;
}
footer nav.menu-page aside{
  float: left;
  width: 200px;
}
footer h3{
	color:#666;
	margin: 10px 0px 0px;
	text-transform: uppercase;
}
footer nav.menu-page aside a{
	padding: 3px 0px;
	display: inline-block;
	font-size: 14px;
	color:#999;
	
}

footer nav.menu-page aside a:hover,
footer nav.menu-page aside a.-active{
	color: #00f;
	text-decoration: underline;
}
footer nav.menu-page aside > a{
	font-size: 18px;
	color:#666;
	margin-bottom: 5px;
	font-family: "UTM Alter Gothic";
	text-transform: uppercase;
}
footer nav.menu-page aside > a:hover,
footer nav.menu-page aside > a.-active{
	color: #FF4000;
	text-decoration: none;
}
footer .contact a{
	color:#00f;
}

-->
</style>

<nav class="menu-page">
	<aside>
		<a data-id="product" href="<?php echo url_for2('product')?>">Sản phẩm</a>
		<nav>
			<?php foreach($data['cates'] as $ct):?>
			<a href="<?php echo url_for2('product', array('cate_id' => $ct['id']))?>"><?php echo $ct['name']?></a><br/>
			<?php endforeach;?>
		</nav>
	</aside>
	<aside>
		<a data-id="customer" href="<?php echo url_for2('member')?>">Tài khoản</a>
		<nav>
			<?php if(count(Members::getSessionData()) <= 0):?>
				<a href="<?php echo url_for2('member')?>">Đăng nhập/ Đăng ký</a><br/>
				
			<?php else:?>
				<a href="<?php echo url_for2('member_order')?>">Tài khoản</a><br/>
				<a href="<?php echo url_for2('member_order')?>">Đơn hàng của bạn</a><br/>
				<a href="<?php echo url_for2('member_history')?>">Thay đổi mật khẩu</a><br/>
			<?php endif?>
				<a href="<?php echo url_for2('member_history')?>">Chính sách bảo mật</a><br/>
				<a href="<?php echo url_for2('member_history')?>">Thoả thuận mua hàng</a><br/>
				<a href="<?php echo url_for2('member_history')?>">Qui định về đặt hàng</a><br/>
		</nav>
	</aside>
	<aside>
		<a data-id="share" href="<?php echo url_for2('news')?>">Giúp đỡ</a>
		<nav>
			<?php foreach($data['shares'] as $ct):?>
			<a href="<?php echo url_for2('news', array('cate_id' => $ct['id']))?>"><?php echo $ct['name']?></a><br/>
			<?php endforeach;?>
		</nav>
	</aside>
	<aside style="float:right; text-align: center">
		<a href="/" title="" alt=""><img src="/css/daiviet/img/logo2.png" /></a>
		<a href="/" title="" alt=""><img src="/css/daiviet/img/logo-phamthuynhan.png" /></a>
	</aside>
	<div class="hz-clr" style="border-bottom: 1px solid #ccc;height: 0px;"></div>
	<div class="contact">
		<h3 style="padding-bottom: 10px;">Công ty TNHH Phần mềm giáo dục Đại Việt</h3>
		Địa chỉ: 171 Lý Chính Thắng, Phường 7, Quận 3, Tp. HCM<br/>
		Điện thoại: <strong style="color:#f00">091 998 92 74</strong><br/>
		Website: <a href="http://<?php echo sfConfig::get('app_link')?>"><?php echo sfConfig::get('app_link')?></a> - Email: <a href="mailto:<?php echo sfConfig::get('app_contact_mail')?>"><?php echo sfConfig::get('app_contact_mail')?></a>
	</div>
</nav>
<div class="clr"></div>